package com.insta.formation.calendar.manager;

import java.util.Date;

import com.insta.formation.calendar.model.Calendar;
import com.insta.formation.calendar.model.Event;
import com.insta.formation.calendar.model.Person;

public interface ICalendarManager
{
	public boolean createCalendar(String name, Person owner);
	
	public boolean deleteCalendar(String name, Person owner);

	public Calendar retreiveCalendar(String name);
	
	public boolean createEvent(String name, Person owner, Event event);
	
	public boolean updateEvent(String calendarName, Person owner, String eventName, String newEventName, Date startDate, Date endDate);

	public boolean deleteEvent(String calName, Person owner, String eventName);

	public boolean addEventGuest(Person owner, String calendarName, String nameEvent, Person guest);
	
	public boolean deleteEventGuest(Person owner, String calendarName, String nameEvent, Person guest);
	
	public Event visitEvent(String calendarName, String eventName, String emailVisitor);
	
}
